﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.Data.Objects.DataClasses;
using System.ServiceModel.DomainServices.Server;
using MyApp.Data.Resources;

namespace MyApp.Data.Model
{
#pragma warning disable 649
    [MetadataType(typeof(Order.OrderMetadata))]
    public partial class Order
    {
        internal class OrderMetadata
        {
            [Display(ResourceType = typeof(Metadata), Name = "MyApp_Order_Status")]
            public byte Status;

            [Include]
            public Customer Customer;

            [Include]
            public EntityCollection<OrderDetail> OrderDetails;
        }
    }
#pragma warning restore 649
}
